<template>
  <div id="TestSlot">
    <slot />
    <div>好烦啊</div>
    <!--具名插槽-->
    <slot name="fai" />
    <slot name="up" />
    <slot :data="data" />
  </div>
</template>

<script>
// import { mapState, mapMutations, mapActions } from 'vuex'
// import validMixins from '@/mixins/validMixins.js'
export default {
  name: 'TestSlot',
  components: {
    // TablesGZCJ,
  },
  // mixins: [validMixins],
  props: {
    // treeData: Array,
  },
  // mixins: [validMixins],
  data() {
    return {
      data: ['小庄', 'CC', '小张', '小林', 'Leaf', 'Bob']
    }
  },
  computed: {
    // ...mapState('user', ['token', 'userInfo'])
  },
  watch: {
    // 'cmAddForm.enginePlatform': function(val) {
    //   console.log('enginePlatformval', val)
    //   if (val) {
    //     this.emissionOptionReq()
    //   }
    // }
  },
  created() {

  },
  mounted() {

  },
  methods: {
    // ...mapActions('user', ['closeSideBar']),
    // ...mapMutations('user', ['CHAGE_TOKEN']),
    functionTest() {}
  }
}
</script>

<style lang="scss">
  #TestSlot {

  }
</style>

